package com.think.admin.model.param.home;

import com.think.common.convert.Convert;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 密码修改
 * </p>
 *
 * @author: xwj
 * @data: 2019-05-17
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PasswordParam extends Convert {
    @NotBlank(message = "原密码不能为空")
    private String oldPassword;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
